<?
/** 
 * pasteboard-tiny 
 * a tiny content management framework
 * This is the PHP page the serves all page requests.
 *
 * @package    pasteboard
 * @subpackage core
 * @author     pasteboard team <pbt_team@pasteboard.org>
 * @copyright  Copyright (c) 2011, pasteboard group
 * @license    GNU General Public License, http://pasteboard.org/?p=license
 
 	Copyright (C) 2011  James McCarthy, http://sjamesmccarthy.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
 */
define('APP-START','TRUE');

/* Require PHP 5, at this point you might as well upgrade */
if(preg_match("/5/i", phpversion())) { DEFINE('PHP5', TRUE); }

/* Start a session for the app */
session_start();

/* Include the config file and the default controller - defined in the config file */
include_once('controllers/pasteboard_c.php');

/* Initiate a new instance of the object */
new app();

/* End of file */
/* Location: ./index.php */